package org.unt.genlogic;


public class FormatterLogic {

    public static void main(String[] args) {

//        DecimalFormat df1 = new DecimalFormat("#");
//        System.out.println(df1.format(1.00003e1));

        double f = 3.14; // 3.13
        
        System.out.println(f % 1);
        if (true) return;
        
        System.out.println(3.14 - (int) 3.14);
        
        Float f1 = new Float(f);
        int i1 = f1.intValue();

        System.out.println(f1);
        System.out.println(f1.intValue());

        System.out.println(f - i1);
    }
}
